import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

// 引入iview
import iView from "iview"
import "iview/dist/styles/iview.css"

Vue.use(iView)

// 引入axios
import axios from "axios"

Vue.prototype.axios = axios

// 引入字体图标
import "../public/font/iconfont.css"


import "./common.css"

// 引入公共样式
import "./common.css"

// 引入animation.css
import "./lib/animation/animate.min.css"
// import {WOW} from 'wowjs';
// new WOW({live: false}).init();


// // 引入wow
// // import "./lib/animation/wow.min"

// 引入wow 和 animation
// import "node_modules/wowjs/css/libs/animate.css"

// 引入swiper
import "../node_modules/swiper/dist/css/swiper.min.css"


// 引入mint-UI
// import Vue from 'vue';
import Mint from 'mint-ui';
import "mint-ui/lib/style.css"

Vue.use(Mint);

// 格式化时间的插件
import moment from "moment"

// 导入全局过滤器
import filter from "./filter/filter"

Object.keys(filter).forEach(key => Vue.filter(key, filter[key]))


// mui
// import mui from "../src/lib/mui/js/mui.min"
// import "../src/lib/mui/css/mui.min.css"
//
// Vue.prototype.mui = mui

// import {Swipe, SwipeItem, Navbar, TabItem,TabContainer, TabContainerItem } from 'mint-ui';
// Vue.component(TabContainer.name, TabContainer);
// Vue.component(TabContainerItem.name, TabContainerItem);
// Vue.component(Swipe.name, Swipe);
// Vue.component(SwipeItem.name, SwipeItem);
// Vue.component(Navbar.name, Navbar);
// Vue.component(TabItem.name, TabItem);


Vue.config.productionTip = false

new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')
